home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11711 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  980 b 

  1. Path: news.gate.net!news-adm
  2. From: Dale Hollon <hollon@gate.net>
  3. Newsgroups: comp.lang.basic.misc,comp.lang.basic.visual.misc,comp.lang.c,comp.lang.c++,comp.os.ms-windows.apps.comm,comp.os.ms-windows.apps.word-proc,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools.mfc,comp.windows.misc
  4. Subject: Help finding contents of current directory.
  5. Date: Fri, 15 Mar 1996 15:32:12 -0500
  6. Organization: CyberGate, Inc.
  7. Message-ID: <3149D3CC.7D67@gate.net>
  8. References: <4ho68l$qhi@ruby.digisys.net> <4hrjt1$jpr@news.microsoft.com>
  9. NNTP-Posting-Host: tpafl3-51.gate.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  14.  
  15. I am trying to get a listing of the files in the current directory. I realize I will have to use 
  16. stat to determin wether it is a file or a directory.  But how do I find out what's in the 
  17. directory in the first place.
  18.  
  19. Thanks in advance,
  20.  
  21. Dale Hollon
  22.  
  23. hollon@gate.net
  24.